package site.timers.game;

public class HealSkill extends Skill {
    private int healAmount;

    public HealSkill() {
        super("治疗", 3, 2, 15);
        this.healAmount = 25;
    }

    @Override
    public void execute(Character caster, Character target) {
        if (caster.getHealth() > 0) {
            target.heal(healAmount);
            currentCooldown = cooldown;
        }
    }
}